<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="itcast3.js"></script>

    <style>
        div {
            border: 1px dashed red;
            height: 200px;
            margin: 10px 0;
        }

        div > p {
            border: 1px solid blue;
            margin: 10px 0;
        }

        .c {
            background-color: green;
        }
    </style>
</head>
</head>
<body>
<div><p>ppp</p></div>
<div><p>ppp</p></div>
<div><p>ppp</p></div>
</body>
<script>

//        I( '<p>pp1</p><p>pp2</p>' ).prependTo( 'div' ).each(function () {
//            this.className = 'c';
//        });

</script>
</html>